package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 客房续住
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-02-11 16:51:08
 */
@TableName("kefangxuzhu")
public class KefangxuzhuEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public KefangxuzhuEntity() {
		
	}
	
	public KefangxuzhuEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 续住编号
	 */
					
	private String xuzhubianhao;

	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	public String getKinds() {
		return kinds;
	}

	public void setKinds(String kinds) {
		this.kinds = kinds;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	/**
	 * 客房号
	 */
					
	private String roomNumber;
	
	/**
	 * 客房分类
	 */
					
	private String kinds;
	
	/**
	 * 价格
	 */
					
	private Float jiage;
	
	/**
	 * 续住天数
	 */
					
	private Integer xuzhutianshu;

	public Integer getXuzhutianshu() {
		return xuzhutianshu;
	}

	public Float getDiscount() {
		return discount;
	}

	public void setDiscount(Float discount) {
		this.discount = discount;
	}

	/**
	 * 折扣
	 */
					
	private Float discount;

//	/**
//	 * 定金
//	 */
//
//	private Float dingjin;
	
	/**
	 * 续住日期
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date xuzhuriqi;
	
	/**
	 * 续住备注
	 */
					
	private String xuzhubeizhu;
	
	/**
	 * 账号
	 */
					
	private String zhanghao;
	
	/**
	 * 姓名
	 */
					
	private String name;
	
	/**
	 * 手机
	 */
					
	private String phone;
	
	/**
	 * 身份证
	 */
					
	private String idCard;
	
	/**
	 * 收银账号
	 */
					
	private String shouyinzhanghao;
	
	/**
	 * 收银姓名
	 */
					
	private String shouyinxingming;
	
	/**
	 * 是否审核
	 */
					
	private String sfsh;
	
	/**
	 * 审核回复
	 */
					
	private String shhf;
    private Boolean isxuzhu;

	public Boolean getIsxuzhu() {
		return isxuzhu;
	}

	public void setIsxuzhu(Boolean isxuzhu) {
		this.isxuzhu = isxuzhu;
	}

	public Date getXuzhuruzhuriqi() {
		return xuzhuruzhuriqi;
	}

	public void setXuzhuruzhuriqi(Date xuzhuruzhuriqi) {
		this.xuzhuruzhuriqi = xuzhuruzhuriqi;
	}

	private Date xuzhuruzhuriqi;



	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：续住编号
	 */
	public void setXuzhubianhao(String xuzhubianhao) {
		this.xuzhubianhao = xuzhubianhao;
	}
	/**
	 * 获取：续住编号
	 */
	public String getXuzhubianhao() {
		return xuzhubianhao;
	}
//	/**
//	 * 设置：客房号
//	 */
//	public void setKefanghao(String kefanghao) {
//		this.kefanghao = kefanghao;
//	}
//	/**
//	 * 获取：客房号
//	 */
//	public String getKefanghao() {
//		return kefanghao;
//	}
//	/**
//	 * 设置：客房分类
//	 */
//	public void setKefangfenlei(String kefangfenlei) {
//		this.kefangfenlei = kefangfenlei;
//	}
//	/**
//	 * 获取：客房分类
//	 */
//	public String getKefangfenlei() {
//		return kefangfenlei;
//	}
	/**
	 * 设置：价格
	 */
	public void setJiage(Float jiage) {
		this.jiage = jiage;
	}
	/**
	 * 获取：价格
	 */
	public Float getJiage() {
		return jiage;
	}
	/**
	 * 设置：续住天数
	 */
	public void setXuzhutianshu(Integer xuzhutianshu) {
		this.xuzhutianshu = xuzhutianshu;
	}
	/**
	 * 获取：续住天数
	 */
//	public Integer getXuzhutianshu() {
//		return xuzhutianshu;
//	}
//	/**
//	 * 设置：折扣
//	 */
//	public void setZhekou(Float zhekou) {
//		this.zhekou = zhekou;
//	}
//	/**
//	 * 获取：折扣
//	 */
//	public Float getZhekou() {
//		return zhekou;
//	}
//	/**
//	 * 设置：定金
//	 */
//	public void setDingjin(Float dingjin) {
//		this.dingjin = dingjin;
//	}
//	/**
//	 * 获取：定金
//	 */
//	public Float getDingjin() {
//		return dingjin;
//	}
	/**
	 * 设置：续住日期
	 */
	public void setXuzhuriqi(Date xuzhuriqi) {
		this.xuzhuriqi = xuzhuriqi;
	}
	/**
	 * 获取：续住日期
	 */
	public Date getXuzhuriqi() {
		return xuzhuriqi;
	}
	/**
	 * 设置：续住备注
	 */
	public void setXuzhubeizhu(String xuzhubeizhu) {
		this.xuzhubeizhu = xuzhubeizhu;
	}
	/**
	 * 获取：续住备注
	 */
	public String getXuzhubeizhu() {
		return xuzhubeizhu;
	}
	/**
	 * 设置：账号
	 */
	public void setZhanghao(String zhanghao) {
		this.zhanghao = zhanghao;
	}
	/**
	 * 获取：账号
	 */
	public String getZhanghao() {
		return zhanghao;
	}
//	/**
//	 * 设置：姓名
//	 */
//	public void setXingming(String xingming) {
//		this.xingming = xingming;
//	}
//	/**
//	 * 获取：姓名
//	 */
//	public String getXingming() {
//		return xingming;
//	}
//	/**
//	 * 设置：手机
//	 */
//	public void setShouji(String shouji) {
//		this.shouji = shouji;
//	}
//	/**
//	 * 获取：手机
//	 */
//	public String getShouji() {
//		return shouji;
//	}
//	/**
//	 * 设置：身份证
//	 */
//	public void setShenfenzheng(String shenfenzheng) {
//		this.shenfenzheng = shenfenzheng;
//	}
//	/**
//	 * 获取：身份证
//	 */
//	public String getShenfenzheng() {
//		return shenfenzheng;
//	}
	/**
	 * 设置：收银账号
	 */
	public void setShouyinzhanghao(String shouyinzhanghao) {
		this.shouyinzhanghao = shouyinzhanghao;
	}
	/**
	 * 获取：收银账号
	 */
	public String getShouyinzhanghao() {
		return shouyinzhanghao;
	}
	/**
	 * 设置：收银姓名
	 */
	public void setShouyinxingming(String shouyinxingming) {
		this.shouyinxingming = shouyinxingming;
	}
	/**
	 * 获取：收银姓名
	 */
	public String getShouyinxingming() {
		return shouyinxingming;
	}
	/**
	 * 设置：是否审核
	 */
	public void setSfsh(String sfsh) {
		this.sfsh = sfsh;
	}
	/**
	 * 获取：是否审核
	 */
	public String getSfsh() {
		return sfsh;
	}
	/**
	 * 设置：审核回复
	 */
	public void setShhf(String shhf) {
		this.shhf = shhf;
	}
	/**
	 * 获取：审核回复
	 */
	public String getShhf() {
		return shhf;
	}

}
